home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 2638 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: ar.ar.com.au!not-for-mail
  2. From: storm@ar.ar.com.au (Storm)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: OS features
  5. Date: 23 Jan 1996 13:26:59 +1100
  6. Organization: I need to put my ORGANIZATION here.
  7. Distribution: inet
  8. Message-ID: <4e1h1j$aca@ar.ar.com.au>
  9. References: <92747544038@PAPA.NORTH.DE> <4b3h9s$1st@alterdial.UU.NET>
  10. NNTP-Posting-Host: ar.ar.com.au
  11. X-Newsreader: TIN [UNIX 1.3 941216BETA PL0]
  12.  
  13. Janne Jalkanen (Janne.Jalkanen@hut.fi) wrote:
  14.  
  15. : Something like MEMF_PUBLIC, MEMF_PROTECTED and MEMF_PRIVATE?  I have
  16. : been toying around with a similar idea.  Code space would be allocated
  17. : from protected memory space, so that crazed programs could not write
  18. : over existing code (and self-modifying code works badly anyway).
  19.  
  20. What about programs that store data in a code hunk so it can be addressed
  21. PC-relative? I have no idea how common this is but it could break many
  22. programs if CODE hunks are write protected..
  23.  
  24. Self-modifying code would not be a problem really - I don't think many
  25. people use it in programs that don't kill the system anyway.. :-)
  26.  
  27. --                  ______________________________
  28.                     \_/ "\/\/\__"\/ "\/ "\/\__"\_/ 
  29. Storm / Cydonia      / / / / / / / / / / / / ' /       Packing class
  30.                     / /\/>  / / / / / / / / / /__     & kicking arse!
  31.     (coder)         \__/ \_/\__/\__/\/\/\/\/\/ \/
  32.